<div class="table-responsive" style="overflow-x: visible;">
    <table class="table table-bordered table-hover">
        <tbody>
        <tr>
            <th class="hidden-xs">
                <label><input onchange="checkAll()" type="checkbox" value=""></label>
            </th>
            <th>ID</th>
            <th>菜单名称</th>
            <th>tip</th>
            <th>排序</th>
            <th>显示菜单</th>
            <th>路径</th>
            <th>分组</th>
            <th>模块</th>
            <th>ICON</th>
            <th>操作</th>
        </tr>

        {{#each records}}
        <tr>
            <td class="hidden-xs">
                <label><input name="checkbox" class="check" type="checkbox" value="{{id}}"></label>
            </td>
            <td>{{id}}</td>
            <td>{{title}}</td>
            <td>{{tip}}</td>
            <td>{{rank}}</td>
            <td>{{hide}}</td>
            <td>
                {{#if url}}
                    <a href="{{url}}" target="_blank">{{url}}</a>
                {{/if}}
            </td>
            <td>{{group}}</td>
            <td>{{module}}</td>
            <td><i class="fa fa-2x fa-{{icon}}"/></td>

            <td class="table-action">
                <a href="/admin/menu/add?id={{id}}" class="btn btn-primary">编辑</a>
                <button onclick="deleteMenu('{{id}}')" class="btn btn-danger" >删除</button>
            </td>
        </tr>
        {{/each}}

        </tbody>
    </table>
    <div class="box-footer no-padding">
        <div class="mailbox-controls">
            <div class="pull-right">
                {{{pager}}}
            </div>
        </div>
    </div>
</div>